#pragma once


// CTabSheet

#include <vector>
using namespace std;

class CTabSheet : public CTabCtrl
{
	DECLARE_DYNAMIC(CTabSheet)

public:
	CTabSheet();
	virtual ~CTabSheet();

public:
	void AddPage(CString strTabName, UINT IDD, CDialog* pDlg);
	int SetCurSel(int nItem);

private:
	void SetPageRect(CDialog* pDlg);

protected:
	DECLARE_MESSAGE_MAP()

private:
	vector<CDialog*> m_vecDlg;
	static int m_nTabIndex;
};


